import {request, config} from 'utils'
import * as commonService from "utils/services";

const {api} = config;
const {payOrderList} = api;
export async function query(params = {}) {
  params.apiBaseUrl = `${payOrderList}`;
  return commonService.commonQuery(params);
}
export async function detail(id) {
  const url = `${payOrderList}/check/${id}/detail`
  return request({ url: url, method: 'GET' })
}
